from pptx import Presentation

# 创建演示文稿对象
prs = Presentation()

# 打印slide_layouts的类型
print(f"Type of slide_layouts: {type(prs.slide_layouts)}")

# 查看可用的布局
print("Available slide layouts:")
for i, layout in enumerate(prs.slide_layouts):
    print(f"Layout {i}: {layout.name}")

# 尝试查看是否有与MSO_SLIDE_LAYOUT相关的属性
print("\nChecking for MSO_SLIDE_LAYOUT related attributes...")
try:
    from pptx.enum import slide
    print(dir(slide))
except ImportError:
    print("pptx.enum.slide module not found")

try:
    from pptx import enums
    print("Enums available:", dir(enums))
except ImportError:
    print("pptx.enums module not found")